{extend name="Public/public"}
{block name="title"}栏目添加{/block}
{block name="main"}
  <div class="col-sm-5"> 
   <div class="widget-box"> 
    <div class="widget-header"> 
     <h4>添加栏目</h4> 
    </div> 
    <div class="widget-body"> 
     <div class="widget-main no-padding"> 
      <form action="/column/insert" method="post"> 
       <!-- <legend>Form</legend> --> 
       <fieldset> 
        <label>类名&nbsp;&nbsp;&nbsp;&nbsp;</label> 
        <input type="text" name="name" /> <br>
       </fieldset> 
        <fieldset> 
        <label>所属类别</label> 
        {foreach name="list" item="row"}
        <input type="text" name="name" value="{$row.name}"disabled="disabled"/> <br>
         <input type="hidden" name="pid" value="{$row.id}">
        <input type="hidden" name="path"value="{$row.path}">
         {/foreach}
       </fieldset> 
        <fieldset> 
        <label>文件夹&nbsp;&nbsp;</label> 
        <input type="text" name="m" /> <br>
       </fieldset> 
        <fieldset> 
        <label>控制器&nbsp;&nbsp;</label> 
        <input type="text" name="c" /> <br>
       </fieldset> 
        <fieldset> 
        <label>方法&nbsp;&nbsp;&nbsp;&nbsp;</label> 
        <input type="text" name="a" /> <br>
       </fieldset> 
       
        <div class="form-actions center"> 
        <input type="submit" class="btn btn-sm btn-success" value="添加">
       </div> 
      </form> 
     </div> 
    </div> 
   </div> 
  </div>
{/block}